<style>
.fui-icon-group .fui-icon-col .active{
    background: #cafbf1;
}
</style>
<div class="fui-cell-group fui-cell-click mod-group" style="margin-top:0;padding-bottom:4rem">
				<a class="fui-cell external" href="javascript:;">
								<div class="fui-cell-icon"><i class="icon icon-chongzhi"></i></div>
								<div class="fui-cell-text">充值兑换</div>
				</a>
				<div class="fui-icon-group col-3 selecter" style="padding:0.2rem 0.5rem">
					<a ng-repeat="item in pagedata.list" class="fui-icon-col external" href="javascript:;" ng-click="pagedata.goods=item">
						<div ng-class="{'active':pagedata.goods.id==item.id}" style="padding:0.2rem;margin:0 0.2rem;border:1px solid #18bc9c;border-radius:0.2rem">
							<div class="badge" style="top:-4px;left:77%">{{item.typetitle}}</div>
							<div class="text bold" style="padding-bottom:0;font-size:0.8rem">面值{{item.oldprice}}</div>
							<div class="subtitle">售价{{item.price}}元</div>
						</div>
					</a>
					<div ng-if="pagedata.list.length<1" class="content-empty" style="margin-top:0.5rem">
						  <div class="icon ">
							<i class="icon icon-information"></i>
						  </div>
						  <div class="content">暂时没有可充值的商品~</div>
					  </div>
				</div>
</div>
<script>
scope.pagedata.getlist=function(item){
	scope.tool.get_list('jy_xunichong/goods.index/getlist/type='+scope.pagedata.params.type,true);
}
scope.tool.get_list('jy_xunichong/goods.index/getlist/type='+scope.pagedata.params.type,true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_xunichong/goods.index/getlist/');
}
</script>